package com.augurit.wf.common.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "OA_CHUANYUE")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class OaChuanyue implements java.io.Serializable {
	
	// 属性
	@Id
    @Column(name = "ID")
    @SequenceGenerator(name="SEQ_OA_CHUANYUE", sequenceName="SEQ_OA_CHUANYUE", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_OA_CHUANYUE")
	private Long id;
	
	private String code;
	
	private String title;
	
	private String seq;
	
	private String docType;
	
	private String keyWord;
	
	private String secret;
	
	private String urgency;
	
	private String mainSend;
	
	private String apposeSend;
	
	private String secrecyLimit;
	
	private Long copies;
	
	private String issuer;
	
	private Date issueDate;
	
	private Date receivedDate;
	
	private String executeLimit;
	
	private String docSummary;
	
	private String fromUnit;
	
	private String contactAddress;
	
	private String contactPhone;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	public String getSeq() {
		return this.seq;
	}

	public void setSeq(String seq) {
		this.seq = seq;
	}
	public String getDocType() {
		return this.docType;
	}

	public void setDocType(String docType) {
		this.docType = docType;
	}
	public String getKeyWord() {
		return this.keyWord;
	}

	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}
	public String getSecret() {
		return this.secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}
	public String getUrgency() {
		return this.urgency;
	}

	public void setUrgency(String urgency) {
		this.urgency = urgency;
	}
	public String getMainSend() {
		return this.mainSend;
	}

	public void setMainSend(String mainSend) {
		this.mainSend = mainSend;
	}
	public String getApposeSend() {
		return this.apposeSend;
	}

	public void setApposeSend(String apposeSend) {
		this.apposeSend = apposeSend;
	}
	public String getSecrecyLimit() {
		return this.secrecyLimit;
	}

	public void setSecrecyLimit(String secrecyLimit) {
		this.secrecyLimit = secrecyLimit;
	}
	public Long getCopies() {
		return this.copies;
	}

	public void setCopies(Long copies) {
		this.copies = copies;
	}
	public String getIssuer() {
		return this.issuer;
	}

	public void setIssuer(String issuer) {
		this.issuer = issuer;
	}
	public Date getIssueDate() {
		return this.issueDate;
	}

	public void setIssueDate(Date issueDate) {
		this.issueDate = issueDate;
	}
	public Date getReceivedDate() {
		return this.receivedDate;
	}

	public void setReceivedDate(Date receivedDate) {
		this.receivedDate = receivedDate;
	}
	public String getExecuteLimit() {
		return this.executeLimit;
	}

	public void setExecuteLimit(String executeLimit) {
		this.executeLimit = executeLimit;
	}
	public String getDocSummary() {
		return this.docSummary;
	}

	public void setDocSummary(String docSummary) {
		this.docSummary = docSummary;
	}
	public String getFromUnit() {
		return this.fromUnit;
	}

	public void setFromUnit(String fromUnit) {
		this.fromUnit = fromUnit;
	}
	public String getContactAddress() {
		return this.contactAddress;
	}

	public void setContactAddress(String contactAddress) {
		this.contactAddress = contactAddress;
	}
	public String getContactPhone() {
		return this.contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}
}